package org.md.budzik.problems;

import java.math.BigInteger;

/**
 * Obsługa odejmowania.
 * @author Wiezzel
 *
 */
public class Subtraction extends TwoArgOp {

	public Subtraction(Expression ex2, Expression ex1) {
		super(ex2, ex1);
	}

	protected BigInteger computeOperation(BigInteger x, BigInteger y) {
		return x.subtract(y);
	}
	
	protected String operationSymbol() {
		return "-";
	}
	
}